package com.md.lession;

public class Class10 {
	public static void main(String[] args) {
	
		int a = 7 ;
		int b = 7 ;
		for (int i = 0; i < (a+1)/2; i++) {
			for (int j = 0; j < b/2-i; j++) {
				System.out.print(" ");
			}
			for (int k = 1; k < (i+1)*2; k++) {
				System.out.print("*");
			}
			System.out.println();
		}
		for (int i = 1; i <= a/2; i++) {
			for (int j = 1; j <= i; j++) {
				System.out.print(" ");
			}
			for (int k = 1; k <= b-2*i; k++) {
				System.out.print("*");
			}
			System.out.println();
		}
	}
}
